<?php
$uri = get_base_url() . url_title(trim($new->category), 'dash', TRUE) . '/' . url_title(trim($new->title), 'dash', TRUE) . '-n' . $new->cat_id . '-' . $new->id;
$thumbnail = ($new->thumbnail != '') ? $new->thumbnail : '/images/noimage.jpg';
?>
<li class="<?php echo (isset($is_video) && $is_video) ? 'video_item' : ''; ?>">
    <a class="link" href="<?php echo $uri; ?>">
        <img src="<?php echo $thumbnail; ?>" class="img"/>
        <?php echo (isset($is_video) && $is_video) ? '<img src="/images/play-button.png" class="play_video"/>' : ''; ?>
    </a>
    <a href="<?php echo $uri; ?>" class="title"><strong><?php echo $new->title; ?></strong></a> <span style="display: inline-block;">(<?php echo date('d/m/Y',strtotime($new->created_date));?>)</span>
    <p><?php echo $new->summary; ?><p>
</li>